gh-90241: Clarify documentation for PyUnicode_FSConverter and PyUnicode_FSDecoder#128451
Conversation
…yUnicode_FSDecoder
|
LGTM, but see my comment on the issue. |
StanFromIreland
left a comment
There was a problem hiding this comment.
Just a few small typos
| .. c:function:: int PyUnicode_FSConverter(PyObject* obj, void* result) | ||
|
|
||
| ParseTuple converter: encode :class:`str` objects -- obtained directly or | ||
| :ref:`PyArg_Parse\* converter <arg-parsing>`: encode :class:`str` objects -- obtained directly or |
There was a problem hiding this comment.
| :ref:`PyArg_Parse\* converter <arg-parsing>`: encode :class:`str` objects -- obtained directly or | |
| :ref:`PyArg_Parse\* converter <arg-parsing>`: encodes :class:`str` objects -- obtained directly or |
Small typo
|
They are not typos. |
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
- PyArg_Parse converter encode str objects
+ PyArg_Parse converter encodes str objectsSince |
|
This is not related. Imperative style is more preferable. See documentations for other functions. For example, |
|
@encukou, please take a look again. Is it look good enough now? |
erlend-aasland
left a comment
There was a problem hiding this comment.
Minor nit; otherwise looks good.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
Thanks @serhiy-storchaka for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…yUnicode_FSDecoder (pythonGH-128451) (cherry picked from commit 657d7b7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
…yUnicode_FSDecoder (pythonGH-128451) (cherry picked from commit 657d7b7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
GH-128542 is a backport of this pull request to the 3.13 branch. |
|
GH-128543 is a backport of this pull request to the 3.12 branch. |
…yUnicode_FSDecoder (pythonGH-128451) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
📚 Documentation preview 📚: https://cpython-previews--128451.org.readthedocs.build/